/*
 * Created on Jun 7, 2005
 *
 */
package com.erclab.internal.xpresso.webapp;

import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;

import org.apache.log4j.*;

/**
 * @author Enrique Rodriguez.
 *
 */
public class SessionListener implements HttpSessionListener {

	// Create the log for this class
	private static final Logger log = Logger.getLogger(SessionListener.class);


	/* (non-Javadoc)
	 * @see javax.servlet.http.HttpSessionListener#sessionDestroyed(javax.servlet.http.HttpSessionEvent)
	 */
	public void sessionDestroyed(HttpSessionEvent arg0) {
		// TODO Log the end of the session
		
	}

	public void sessionCreated(HttpSessionEvent arg0) {
		log.info("A new session is being created");
		
	}


}
